/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021.
 * Description: support ksm_add feature.
 * Author: liwugui
 * Create: 2021-8-18
 */

#ifndef __RTOS_KSM_ADD_H
#define __RTOS_KSM_ADD_H
#include <linux/task_struct_extend.h>

#define DISABLE_ALL_PROCESS 0       /* close all process merge, and unmerge all pages */

void do_ksm_add(void);
int ksm_add_create_dir(void);

void ksm_add_flag_inher(struct task_struct *task_parent, struct task_struct *task_child);
#endif
